<?php
/**
 * Configuration générale de l'application
 * 
 * @date "11/10/2014"
 * @author Jonathan Haehnel <jonathanhaehnel[at]gmail.com>
 */

/**
 * Debug
 */
define("DEBUG", false);

/**
 * App variable
 */
define('APP_TITLE', 'piDashboard');
define('APP_VERSION', 'version 1.0');
define('APP_COPY', '2014');
define('APP_DEFAULT_CSS', 'foundation,style');
define('APP_DEFAULT_JS', 'vendor/jquery,foundation.min,script');

/**
 * Urls par defaut
 */
define('CONF_BASE', 'http://localhost/pi-dashboard/');
define('CONF_VIEW', 'app/view/');
define('CONF_CONTROLLER', 'app/controller/');
define('CONF_MODEL', 'app/model/');
define('CONF_SYSTEM', 'system/');
define('CONF_ASSETS_CSS', 'assets/css/');
define('CONF_ASSETS_JS', 'assets/js/');
define('CONF_ASSETS_IMG', 'assets/img/');

define('CONF_SHOTS', 'sync');

/**
 * Controlleur par defaut
 */
define('CONF_DEFAULT_CONTROLLER', 'camera');
define('CONF_DEFAULT_ACTION', 'home');

/**
 * Autoloader
 */
require_once CONF_SYSTEM."app.php";
require_once CONF_SYSTEM."renderer.php";
require_once CONF_SYSTEM."controller.php";